/**
* TradeUserWish.ts
* 心愿 数据模型
*/

// 数据创建参数类
export class TradeUserWishCreateParam {
	id?: number; // ID
	accountCode?: number; // 用户账号
	cateCode?: number; // 商品分类编码
	cateLabel?: string; // 商品分类标签
	goodsWords?: string; // 商品匹配关键词
	addressWords?: string; // 地址匹配关键词 用英文逗号分割
	time?: number; // 创建时间
	expireTime?: number; // 过期时间
	status?: number; // 数据状态 0 正常 1 删除

	// 构造函数2
	constructor(id?: number, accountCode?: number, cateCode?: number, cateLabel?: string, goodsWords?: string, addressWords?: string, time?: number, expireTime?: number, status?: number) {
		this.id = id;
		this.accountCode = accountCode;
		this.cateCode = cateCode;
		this.cateLabel = cateLabel;
		this.goodsWords = goodsWords;
		this.addressWords = addressWords;
		this.time = time;
		this.expireTime = expireTime;
		this.status = status;
	}
}

// 数据更新参数类
export class TradeUserWishUpdateParam {
	id: number; // ID
	accountCode?: number; // 用户账号
	cateCode?: number; // 商品分类编码
	cateLabel?: string; // 商品分类标签
	goodsWords?: string; // 商品匹配关键词
	addressWords?: string; // 地址匹配关键词 用英文逗号分割
	time?: number; // 创建时间
	expireTime?: number; // 过期时间
	status?: number; // 数据状态 0 正常 1 删除

	// 构造函数
	constructor(id: number, accountCode?: number, cateCode?: number, cateLabel?: string, goodsWords?: string, addressWords?: string, time?: number, expireTime?: number, status?: number) {
		this.id = id;
		this.accountCode = accountCode;
		this.cateCode = cateCode;
		this.cateLabel = cateLabel;
		this.goodsWords = goodsWords;
		this.addressWords = addressWords;
		this.time = time;
		this.expireTime = expireTime;
		this.status = status;
	}
}

// 数据创建或者更新参数类
export class TradeUserWishCreateOrUpdateParam {
	id?: number; // ID
	accountCode?: number; // 用户账号
	cateCode?: number; // 商品分类编码
	cateLabel?: string; // 商品分类标签
	goodsWords?: string; // 商品匹配关键词
	addressWords?: string; // 地址匹配关键词 用英文逗号分割
	time?: number; // 创建时间
	expireTime?: number; // 过期时间
	status?: number; // 数据状态 0 正常 1 删除

	// 构造函数2
	constructor(id?: number, accountCode?: number, cateCode?: number, cateLabel?: string, goodsWords?: string, addressWords?: string, time?: number, expireTime?: number, status?: number) {
		this.id = id;
		this.accountCode = accountCode;
		this.cateCode = cateCode;
		this.cateLabel = cateLabel;
		this.goodsWords = goodsWords;
		this.addressWords = addressWords;
		this.time = time;
		this.expireTime = expireTime;
		this.status = status;
	}
}

// 数据搜索参数类
export class TradeUserWishSearchParam {
	id?: number; // ID
	accountCode?: number; // 用户账号
	cateCode?: number; // 商品分类编码
	cateLabel?: string; // 商品分类标签
	goodsWords?: string; // 商品匹配关键词
	addressWords?: string; // 地址匹配关键词 用英文逗号分割
	time?: number; // 创建时间
	expireTime?: number; // 过期时间
	status?: number; // 数据状态 0 正常 1 删除

	// 构造函数2
	constructor(id?: number, accountCode?: number, cateCode?: number, cateLabel?: string, goodsWords?: string, addressWords?: string, time?: number, expireTime?: number, status?: number) {
		this.id = id;
		this.accountCode = accountCode;
		this.cateCode = cateCode;
		this.cateLabel = cateLabel;
		this.goodsWords = goodsWords;
		this.addressWords = addressWords;
		this.time = time;
		this.expireTime = expireTime;
		this.status = status;
	}
}

// 排序参数类
export class TradeUserWishOrderParam {
	id?: number; // ID
	accountCode?: number; // 用户账号
	cateCode?: number; // 商品分类编码
	cateLabel?: number; // 商品分类标签
	goodsWords?: number; // 商品匹配关键词
	addressWords?: number; // 地址匹配关键词
	time?: number; // 创建时间
	expireTime?: number; // 过期时间
	status?: number; // 数据状态

	// 构造函数
	constructor(id?: number, accountCode?: number, cateCode?: number, cateLabel?: number, goodsWords?: number, addressWords?: number, time?: number, expireTime?: number, status?: number) {
		this.id = id; // ID
		this.accountCode = accountCode; // 用户账号
		this.cateCode = cateCode; // 商品分类编码
		this.cateLabel = cateLabel; // 商品分类标签
		this.goodsWords = goodsWords; // 商品匹配关键词
		this.addressWords = addressWords; // 地址匹配关键词 用英文逗号分割
		this.time = time; // 创建时间
		this.expireTime = expireTime; // 过期时间
		this.status = status; // 数据状态 0 正常 1 删除
	}
}

// 请求响应结果数据类型
export interface TradeUserWishResult{
	id: number; // ID
	accountCode?: number; // 用户账号
	cateCode?: number; // 商品分类编码
	cateLabel?: string; // 商品分类标签
	goodsWords?: string; // 商品匹配关键词
	addressWords?: string; // 地址匹配关键词 用英文逗号分割
	time?: number; // 创建时间
	expireTime?: number; // 过期时间
	status?: number; // 数据状态 0 正常 1 删除
}
